package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.math.BigDecimal;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

/**
 * 实名认证业务对象 app_user_code
 *
 * @author ruoyi
 * @date 2025-08-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserCodeBo extends BaseEntity {

    /**
     * ID
     */
    private Long codeId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 身份证号
     */
    @NotBlank(message = "身份证号不能为空", groups = {AddGroup.class, EditGroup.class})
    @Length(min = 15, max = 18, message = "身份证号错误", groups = {AddGroup.class, EditGroup.class})
    private String code;

    /**
     * 身份证名称
     */
    @NotBlank(message = "身份证姓名不能为空", groups = {AddGroup.class, EditGroup.class})
    private String codeName;

    /**
     * 支付状态(0=未支付  1=已支付)
     */
    private String status;

    /**
     * 认证状态(0=未通过，1=通过)
     */
    private String verifyStatus;

    /**
     * 备注
     */
    private String remark;


    private String orderNo;


    private BigDecimal codePrice;

}
